19931: fix: respect DataFrameWriteOptions::with_single_file_output for paths without extensions#203
19931: fix: respect DataFrameWriteOptions::with_single_file_output for paths without extensions#203martin-augment wants to merge 1 commit intomainfrom
Conversation
… without extensions
WalkthroughThis change introduces a new public field ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Code Review for PR #203SummaryThis PR fixes a regression where Code Quality: ✅ GoodStrengths
Minor Issues
Potential Bugs:
|
🤖 Augment PR SummarySummary: This PR ensures Changes:
Technical Notes: The default behavior remains heuristic-based unless an explicit 🤖 Was this summary useful? React with 👍 or 👎 |
| /// - `None`: use extension heuristic (path with extension = single file) | ||
| /// - `Some(true)`: force single file output at exact path | ||
| /// - `Some(false)`: force directory output with generated filenames | ||
| pub single_file_output: Option<bool>, |
There was a problem hiding this comment.
value:valid-but-wont-fix; category:bug; feedback:The Augment AI reviewer is correct that the addition of the new field breaks the public API but this is not really an issue for Apache DataFusion because its release policy is to release major versions which allow breaking the API. Minor versions are released only when there are big issues with a freshly released major version.
value:good-to-have; category:bug; feedback:The Claude AI reviewer is correct that by using eq_ignore_ascii_case() the reading of the new config property value would be more user-friendly and accept upper-cased/capitalized |
value:incorrect-but-reasonable; category:bug; feedback:The Claude AI reviewer is not correct! "Some(false)" means that the file writer should use the provided path as a file system directory. If partitioning is disabled then this directory will contain only one file for the single partition. |
19931: To review by AI